home *** CD-ROM | disk | FTP | other *** search
/ The Atari Compendium / The Atari Compendium (Toad Computers) (1994).iso / files / umich / utils / desktop / newicons.lzh / NEWICONS.DOC < prev    next >
Text File  |  1990-04-23  |  8KB  |  184 lines

  1. You should have:
  2. NEWICONS.PRG
  3. DSKMAKE.PRG
  4. DSKMAKE.RSC
  5. NEWICONS.DOC(what you're reading)
  6.  
  7. PLEASE READ THIS
  8. These programs are NOT free.  I spent a lot of time working on 
  9. them and am releasing them to the public under a concept known as 
  10. SHAREWARE.   This means that I am letting you examine the programs 
  11. risk free and at your leisure.  If you like and use them, all I 
  12. ask is a small contribution of $5 or so.  If you don't use them or 
  13. do not want to pay then you must delete them.  Of course I can't 
  14. come into your home and enforce this- it's up to you to do the 
  15. right(and legal) thing.  But remember, by supporting myself and 
  16. other SHAREWARE authors, you support yourself and the ST because 
  17. it encourages us to write new programs, and add features to 
  18. existing ones, all for very low prices.  Think about it.
  19.  
  20. Please send payments to: 
  21. 1000 Klub Software
  22. c/o Paul Chinn
  23. 1000 El Embarcadero #E
  24. Isla Vista, CA 93117
  25.  
  26. CIS ID#: 76157,55
  27.  
  28. Of course comments and suggestions are always welcome.
  29.  
  30. On with the show....
  31.  
  32.      If you're like me, and own a hard drive, you probably have 
  33. partitioned it into several separate drives, each one having a 
  34. fairly specific purpose, such as graphics, or programming, or 
  35. desktop publishing for example.  Although each drive gets a unique 
  36. name on its desktop icon, they all share the same old file cabinet 
  37. icon.  Aside from not being a very good visual clue as to what is 
  38. on the disk, the file cabinet just isn't much fun to look at.
  39.  
  40.      With NEWICONS you can now change your desktop disk icons to 
  41. whatever you want.  Other commercial and PD programs try this but 
  42. they are usually complete desktop replacements or only allow one 
  43. new icon for all your drives, getting rid of the file cabinet but 
  44. still not giving your drives visual distinction.
  45.  
  46.      NEWICONS allows you to replace any disk with any icon at any 
  47. time without locking out other important programs(like Hotwire!) 
  48. or eating up valuable RAM with lots of extra reworks of features 
  49. the desktop already handles pretty well.  Not only that, but you 
  50. can change your trash can icon as well, and changing a drive's 
  51. icon is as easy as changing its name. 
  52. USING NEWICONS
  53.  
  54.      NEWICONS runs automatically by putting it in your auto folder 
  55. and requires a file called ICONS.DSK also be in the auto folder of 
  56. the boot disk.
  57.  
  58.      Once your system has booted up, NEWICONS will cause each icon 
  59. on the desktop to appear differently depending on the disk icon's 
  60. name.  This is NOT the actual disk's name but rather the name you 
  61. gave the icon when you clicked on INSTALL DISK DRIVE in the 
  62. options menu.
  63.  
  64.      To change how an icon looks, you just have to change its 
  65. name. This is done by clicking on the icon and then INSTALL DISK 
  66. DRIVE under the options menu of the desktop.  To give the icon a 
  67. new name, click on INSTALL and if NEWICONS finds a match in the 
  68. ICONS.DSK file, you'll see the new icon.
  69.  
  70.      When you are first setting up NEWICONS for your system you 
  71. probably won't see any change because NEWICONS most likely won't 
  72. find a match for what you've typed.  However you can try a couple 
  73. of my defaults by naming your icons PROGRAMMING, GRAPHICS, 
  74. RAMdisk, or DOUBLE SIDED.
  75.  
  76.      Of course, NEWICONS wouldn't be much fun or very useful if 
  77. you had to name your disks the same as mine just to look at icons 
  78. I picked.  That's where DSKMAKE.PRG comes in...
  79.  
  80.  
  81. Using DSKMAKE.PRG
  82.  
  83.      DSKMAKE.PRG lets you create custom .DSK files which allow you 
  84. to have your own icons and name them whatever you want.  Version 1 
  85. of DSKMAKE doesn't provide a means of drawing the icons 
  86. themselves, instead you must have already drawn them and saved 
  87. them in a Degas picture(HI or Medium res only).  If you don't know 
  88. how icons are drawn but are interested read the ICONS section 
  89. below.
  90.  
  91.      Assuming you have a Degas pic with your icons or a pre-made 
  92. .DSK file, run DSKMAKE.PRG and you will be presented with 
  93. DSKMAKE's main menu.  The first thing you'll probably do is [LOAD 
  94. .DSK].  A file selector will come up and you can load in ICONS.DSK 
  95. or any other .DSK file you may have access to.  You can now scroll 
  96. thru the available icons by clicking on the little UP/DOWN arrows.  
  97. As you do so you will see the icons as they will appear on the 
  98. desktop, and the name used that will cause that icon to appear. 
  99.      
  100.      Now you can [KILL ICON]s(delete them) or [CHANGE NAME] of the 
  101. icons.  If you click on [CHANGE NAME] a dialog box will come up 
  102. asking for the new name.
  103.  
  104.      To actually [ADD ICON]s you must first [LOAD DEGAS].  After 
  105. this has been done, when you click on [ADD ICON] you will be shown 
  106. the picture and a small 32x32 box that follows the mouse. Notice 
  107. that if you hold the left shift key while dragging, the box will 
  108. "snap" to the nearest pixel that is a multiple of 16. Position the 
  109. box and grab your icon by clicking the left button.  The icon will 
  110. flash and then you will be given the 32x32 box again.  This is so 
  111. you can grab the icon's mask.  If you don't understand what a mask 
  112. is, read the notes under ICONS below.  You'll return to the main 
  113. menu and be given a dialog box to name the icon.  You can add as 
  114. many icons as you want, they don't all have to be shown on the 
  115. desktop at the same time but will appear as soon as their name is 
  116. used for an icon.
  117.  
  118.      I mentioned before that you can change the trash icon as 
  119. well. To do this, grab an icon as usual but name it TRASH.  That 
  120. icon will be used for your trash can REGARDLESS of what you call 
  121. your trash(I call mine NUKE!).  Version 1 only permits one 
  122. alternate trash can icon because changing the name of the trash 
  123. icon requires editing the DESKTOP.INF file and most people 
  124. probably don't do that much.
  125.  
  126.      Save your changes in ICONS.DSK and you are ready to go!  
  127. Unless you make further changes to the DSK file, you don't have to 
  128. worry about NEWICONS or DSKMAKE anymore...once you reboot, your 
  129. custom icons will appear without further ado...
  130.  
  131.  
  132. ICONS
  133. Icons- are simply 32x32 pixel monochrome graphics.  They also have 
  134. what is called a MASK which is just a 32x32 graphic image used to 
  135. punch a hole in the screen, sort of like a cookie cutter.  When 
  136. the desktop draws an icon it first puts down the mask which is the 
  137. white part of the icon.  Then it draws the icon's data which is 
  138. the black part.  For this reason you generally want the mask to be 
  139. a copy of the icon data, with a one pixel border around it and 
  140. filled in anywhere you don't want the desktop to show through.
  141.  
  142. VERSION 1 NOTES:
  143.      If NEWICONS can't find a match for the name you've typed it 
  144. will default to the file cabinet.
  145.      When working with Degas Medium res pictures, all color 
  146. information is automatically stripped out of the picture when you 
  147. load it.  
  148.  
  149. STOP THE PRESSES!!!!!!!!!
  150.  
  151.      Just before releasing NEWICONS I added a fun(if not 
  152. particularly useful) new feature.  NEWICONS now lets you change 
  153. the icons that appear in standard alert boxes(the stop sign, 
  154. question mark, and exclamation mark).  To do so, just [ADD ICON] 
  155. as you normally would in DSKMAKE.  Grab your new icon with the box 
  156. then the mask(alert icons don't use masks so it doesn't really 
  157. matter what you grab for the mask)  Then to tell NEWICONS this is 
  158. an alert replacement, name the icon one of the following:
  159. A1   to replace the exclamation mark
  160. A2   to replace the question mark
  161. A3   to replace the stop sign
  162.  
  163.      Save and reboot and when you get an alert in any program, 
  164. your new icon will appear.  Like I said, not too useful, but 
  165. somehow being told you just formatted your entire Hard Disk is a 
  166. little easier to take when Calvin or Hobbes tells you.
  167.  
  168.  
  169. PROGRAM INFO
  170.  
  171. NEWICONS is 100% assembly language.  Although most of it is my own 
  172. work, I would be remiss if I did not credit Stefan Becker whose 
  173. program ICONDESK provided a valuable example of intercepting GEM 
  174. AES and VDI calls.  ICONDESK is itself a really neat program which 
  175. lets you give custom icons to EVERY single file on you disk, just 
  176. like a Macintosh.  Since I use Ho